The phrenic branch arises from the ventral ramus of C5 and joins the phrenic nerve anterior to the scalenus anterior muscle.